{template 'header'}

<!--主体部分-->
<div class="layout960 fn-clear">
	<div class="bt_page">
		<div class="bt_smenuNew">
			<div class="bt_navigatev1New">
				<div>
					<a href="{SITE_URL}" target="_blank">讯都车网</a>&nbsp;&nbsp;&gt;
					<a href="{url('auto/index')}" target="_blank">车型库</a>&nbsp;&nbsp;&gt;
					车型对比
				</div>
			</div>
		</div>
	</div>
	<!--面包屑 end-->



	<div class="auto-compare layout960 fn-clear">
		<div class="auto-config-tb fn-left">
			<table>
				<thead>
				<tr>
					<th><div><span class="fs14">车款对比</span>（车款名称）</div></th>
					{loop $modelIds $mid}
					<td><div>{$params[$mid][name]}</div></td>
					{/loop}
				</tr>
				</thead>
				<tbody>
			{loop $fdGroup $fid $subGroup}
			<tr class="auto-config-hd">
				<td colspan="{php echo count($modelIds)+1;}">{$subGroup[_][paramGroupName]}</td>
			</tr>
			{loop $subGroup $subkey $sub}
			{php if ($subkey=='_') continue;}

			<tr {if $sub[name]=="price"}class="guide-price"{/if}>
				<th>{$sub[title]}</th>
				{loop $modelIds $mid}
					{if $params[$mid][$sub[name]]=='无'}
						<td>-</td>
					{elseif $params[$mid][$sub[name]]=='是' || $params[$mid][$sub[name]]=='有'}
						<td>●</td>
					{else}
						<td>{$params[$mid][$sub[name]]}</td>
					{/if}
				{/loop}
			</tr>
			{/loop}
			{/loop}
			</tbody>
		</table>
	</div>
</div>
<!--主体部分 end-->
{template 'footer'}
